
string = """

class %(classname)s(%(typename)s):
    ''' documentation '''

""" % {'classname':'MyClass', 'typename':'BaseClass'}

print string